package uk.ac.ebi.uniprot.wikipedia.retrievalServices;

import org.json.JSONException;
import uk.ac.ebi.uniprot.wikipedia.exceptions.ServiceException;
import uk.ac.ebi.uniprot.wikipedia.util.GeneWikiOrganism;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: ljgarcia
 * Date: 03/07/12
 * Time: 11:52
 * To change this template use File | Settings | File Templates.
 */
public class GeneWikiHumanRetrieval extends GeneWikiRetrieval {

    public void init() throws IOException, JSONException, ServiceException {
            this.setOrganism();
            this.initCollections(this.getOrganism());
    }

    /**
     * Bean destroyer.
     */
    public void destroy() {
        super.destroy();
    }

    /**
     * Sets organism to HUMAN.
     */
    public void setOrganism() {
        super.setOrganism(GeneWikiOrganism.HUMAN);
    }

    /**
     * Sets bean property queryName.
     * @param queryName
     */
    public void setQueryName(String queryName) {
        super.setQueryName(queryName);
    }
}
